package com.xhai.common.constant;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author xhai
 * @description 用户相关常量
 * @date 2025/6/6
 */
@Schema(description = "用户相关常量")
public class UserConstants {
    /**
     * 用户名最小长度限制
     */
    @Schema(description = "用户名最小长度限制")
    public static final int USERNAME_MIN_LENGTH = 2;
    /**
     * 用户名最大长度限制
     */
    @Schema(description = "用户名最大长度限制")
    public static final int USERNAME_MAX_LENGTH = 20;

    /**
     * 密码最小长度限制
     */
    @Schema(description = "密码最小长度限制")
    public static final int PASSWORD_MIN_LENGTH = 5;
    /**
     * 密码最大长度限制
     */
    @Schema(description = "密码最大长度限制")
    public static final int PASSWORD_MAX_LENGTH = 20;
}
